layui.use(['form', 'layedit', 'laydate'], function(){
    var form = layui.form
        ,layer = layui.layer
        ,layedit = layui.layedit
        ,laydate = layui.laydate;

    $("#userlogin").on('click',function () {
        location.href="../YM/userlogin.html";
    })

    $("#stafflogin").on('click',function () {
        location.href="../YM/stafflogin.html"
    })
})